package com.syh.jn.scm.domain.operation.repository.system;

import com.syh.core.ddd.infrastructure.repository.ReadRepo;
import com.syh.jn.scm.domain.operation.entity.system.OperationRole;
import com.syh.jn.scm.dto.operation.system.menu.OperaMenuVo;

import java.util.List;

public interface OperationRoleReadRepository extends ReadRepo<OperationRole, Long> {

  /**
   * 获取角色菜单拥有的按钮
   *
   * @param roleId
   */
  public List<OperaMenuVo> getMenusButtonByRoleId(Long roleId);
}
